
import config from "./config";
import configfabu from "./configfabu";

var domain = config.getDomain;
var h5 = config.getH5;
var DUIXIN_BANNER_ID = config.getDUIXIN_BANNER_ID;
var DUIXIN_CATS_ID = config.getDUIXIN_CATS_ID;
var pageCount = config.getPageCount;
var categoriesID = config.getCategoriesID;
var apileixing = config.getApileixing;

var jiugetu = configfabu.postDUIXIN_JIUGETU_ID;
var DUIXIN_API =  domain + '/index.php?v=1&appid='+config.getAPPID+'&appsecret='+config.getAPPSECRET+'&';

export default  {
	// 生成微信登录二维码
	pc_weixin_erweima() {
		var url = DUIXIN_API + '&s=weixin&c=pc&m=index';
		return url;
	},
	pc_weixin_code() {
		var url = DUIXIN_API + '&s=weixin&c=pc&m=code';
		return url;
	},
	// pc微信登录
	pc_weixin_denglu() {
		var url = DUIXIN_API + '&s=api&c=oauth&m=index&action=callback_duixin&name=weixin&type=login&back='+domain;
		return url;
	},
	//微信公众号二维码
	pc_gongzhonghao_denglu() {
		var url = DUIXIN_API + '&s=api&c=oauth&m=index&name=wechat&type=login&back=';
		return url;
	},
	// 检测登录
	pc_gongzhonghao_jiance(code_id) {
		var url = domain + '/index.php?s=weixin&c=member&m=wxbang&ep='+code_id;
		return url;
	},
	// 公众号登录
	get_gongzhonghao_denglu() {
		//var url = domain + '/index.php?s=member&c=account&m=oauth';
		var url = DUIXIN_API + 's=member&c=account&m=oauth';
		return url;
	},
	//圈子导航
	get_daohang(uid,code) {
		var url = DUIXIN_API + 's=daohang&c=home&m=daohang';
		return url;
	},
	




	// 检查微信登录状态
	checkWechatLogin() {
		var url = DUIXIN_API + '&s=member&c=wechat&m=check_login';
		return url;
	},
	// 站点
	getWwwUrl(obj,uid,code) {
		//console.log('obj',obj); 
		var url = DUIXIN_API;
		if (obj) {
		  url += '&api_auth_uid='+uid+'&api_auth_code='+code;
		}
		return url;
	},
	// 用户信息接口
	getUID(uid,code) {
		// s=httpapi&m=member&uid=[用户的id]
		var url = DUIXIN_API + '&s=httpapi&m=member&uid='+uid+'&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	//知识导航
	getZhishi_daohang(code,uid) {
		var url = DUIXIN_API + 's=zhishi&c=daohang&m=index';
		return url;
	},
	// 知识推荐
	getZhishi_tuijian() {
		var url = DUIXIN_API +'s=zhishi&c=home&m=tuijian';
		return url;
	},
	// 知识列表
	getZhishi_list(obj) {
		var url = DUIXIN_API + '&s=zhishi&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		  url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		  url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	//圈子导航
	getQuan_daohang(code,uid) {
		var url = DUIXIN_API + 's=quan&c=daohang&m=index';
		return url;
	},
	// 圈子列表
	getQuan_list(obj) {
		var url = DUIXIN_API + '&s=quan&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		  url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		  url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	// 圈帖子列表
	getTiezi_list(obj) {
		var url = DUIXIN_API + '&s=quan&c=tieziliebiao&m=index&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories!= 0) {
		  url += '&catid=' + obj.categories;
		}
		if (obj.gongkai!= 0) {
		  url += '&gongkai=' + obj.gongkai;
		}
		if (obj.syxs!= 0) {
		  url += '&syxs=' + obj.syxs;
		}
		if (obj.tuijian) {
		  url += '&tuijian=' + obj.tuijian; // 推荐
		}
		if (obj.jinghua) {
		  url += '&jinghua=' + obj.jinghua; // 精华
		}
		if (obj.remen) {
		  url += '&remen=' + obj.remen; // 热门
		}
		if (obj.reping) {
		  url += '&reping=' + obj.reping; // 热评
		}
		if (obj.uid) {
		  url += '&api_auth_uid=' + obj.uid; // 用户ID
		}
		if (obj.keycode) {
		  url += '&api_auth_code=' + obj.keycode; // 密钥
		}
		if (obj.shoucang) {
		  url += '&shoucang=' + obj.shoucang; // 收藏
		}
		if (obj.dianzan) {
		  url += '&dianzan=' + obj.dianzan; // 点赞
		}
		if (obj.guanzhu) {
		  url += '&guanzhu=' + obj.guanzhu; // 关注
		}
		if(obj.pinglun){
			url += '&pinglun=' + obj.pinglun; // 评论
		}
		if(obj.lishi){
			url += '&lishi=' + obj.lishi; // 历史
		}
		if(obj.tupianzhi){
			url += '&tupianzhi=' + obj.tupianzhi; // 图片
		}
		if(obj.shipinzhi){
			url += '&shipinzhi=' + obj.shipinzhi; // 视频
		}
		if(obj.yinpinzhi){
			url += '&yinpinzhi=' + obj.yinpinzhi; // 音频
		}
		if(obj.fujianzhi){
			url += '&fujianzhi=' + obj.fujianzhi; // 附件
		}
		if(obj.fufeizhi){
			url += '&fufeizhi=' + obj.fufeizhi; // 付费
		}
		if (obj.search != '') {
		  url += '&search=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	// 圈帖子列表
	getTiezi() {
		var url = DUIXIN_API + '&s=quan&c=tiezi&m=index';
		return url;
	},
	// 圈帖子点赞判断
	getDianzan_panduan(uid,code) {
		if(uid=='' || code==''){
			var url = DUIXIN_API + '&s=quan&c=dianzan&m=dianzan_panduan';
		} else {
			var url = DUIXIN_API + '&s=member&app=quan&c=dianzan&m=dianzan_panduan&api_auth_uid='+uid+'&api_auth_code='+code;
		}
		
		return url;
	},
	// 圈帖子点赞
	postDianzan(uid,code) {
		var url = DUIXIN_API + '&s=member&app=quan&c=dianzan&m=index&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 圈帖子点赞头像
	getDianzan_touxiang() {
		var url = DUIXIN_API + '&s=quan&c=dianzan&m=dianzan_touxiang';
		return url;
	},
	
	// 圈帖子收藏判断
	getShoucang_panduan(uid,code) {
		if(uid=='' || code==''){
			var url = DUIXIN_API + '&s=quan&c=shoucang&m=shoucang_panduan';
		} else {
			var url = DUIXIN_API + '&s=member&app=quan&c=shoucang&m=shoucang_panduan&api_auth_uid='+uid+'&api_auth_code='+code;
		}
		return url;
	},
	
	// 圈帖子收藏
	postShoucang(uid,code) {
		var url = DUIXIN_API + '&s=member&app=quan&c=shoucang&m=index&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 关注用户
	postGuanzhu(uid,code) {
		var url = DUIXIN_API + '&s=member&c=guanzhu&m=guanzhu&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 判断是否关注用户
	getGuanzhu_panduan(uid,code) {
		var url = DUIXIN_API + '&s=member&c=guanzhu&m=guanzhu_panduan&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 圈帖子评论
	
	
	
	// 海报
	getHaibao() {
		var url = DUIXIN_API + 's=quan&c=home&m=haibao';
		return url;

	},
	
	  
	// 首页
	getIndex(code,uid) {
		var url = DUIXIN_API + 's=paiwu&c=api_home&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	//排列五 历史
	getLishi_paiwu(code,uid) {
		var url = DUIXIN_API + 's=paiwu&c=api_home&m=lishi&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	// 模拟数据列表
	
	getMoni_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=moni&c=home&m=diaoyong_data&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	// 时间
	getMoni_time(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=api_home&m=shijian&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	//提交数据数据
	getMoni_tijiao(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&index.php?s=moni&c=home&m=data&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	// 提交模拟数据
	postMoni_tijiao_data(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=member&app=moni&c=home&m=add&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},

	// 提交模拟
	getMoni_tijiao_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=member&app=moni&c=home&m=list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_1(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_wei_2(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi_2&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_wei_3(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi_3&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_wei_4(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi_4&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_wei_5(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi_5&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_wei_6(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_weishu_zoushi&m=zoushi_6&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},


	// 调用合走势
	get_he(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_2(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_2&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_3(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_3&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_4(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_4&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_5(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_5&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_6(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_6&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_7(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_7&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_8(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_8&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_9(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_9&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_he_10(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_6_4_zoushi&m=zoushi_10&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_1(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_2(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_2&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_3(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_3&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_4(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_4&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_5(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_5&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_6(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_6&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_7(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_7&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_8(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_8&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_9(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_9&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_cha_10(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_6_4_zoushi&m=zoushi_10&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	// 极差
	get_jicha_1(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_1&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_2(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_2&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_3(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_3&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_4(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_4&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_5(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_5&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_6(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_6&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_7(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_7&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_8(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_8&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_9(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_9&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	get_jicha_10(code,uid,nian) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_6_4_zoushi&m=zoushi_10&api_auth_code='+code+'&api_auth_uid='+uid+'&nian='+nian;
		return url;
	},
	//index.php?s=paiwu&c=fenxi_wu_duicuo_qian_zoushi&m=shuju_wu&qi=
	get_wan_5_tu(code,uid,qi) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wu_duicuo_qian_zoushi&m=shuju_wu&api_auth_code='+code+'&api_auth_uid='+uid+'&qi='+qi;
		return url;


	},
	get_wan_ju(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wan_ju&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_he_ju(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_ju&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_cha_ju(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_ju&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_jicha_ju(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_ju&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_da_quan(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_shu&m=index&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_duicuo(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_duicuo&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_duicuo_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_duicuo_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_duicuo_6(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_duicuo_6&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_duicuo_list_6(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_duicuo_list_6&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},

	get_he_duicuo(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_duicuo&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},

	get_he_duicuo_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_duicuo_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_cha_duicuo(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_duicuo&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},

	get_cha_duicuo_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_duicuo_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_jicha_duicuo(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_duicuo&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},

	get_jicha_duicuo_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_duicuo_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_xia(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_xia&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_xia_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_xia_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_he_xia(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_xia&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_he_xia_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_he_xia_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_cha_xia(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_xia&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_cha_xia_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_cha_xia_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_jicha_xia(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_xia&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_jicha_xia_list(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_jicha_xia_list&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	get_wei_xia_5(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=paiwu&c=fenxi_wei_xia_5&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},
	// 提交号码
	post_tijiao_haoma(code,uid) {
		var url = DUIXIN_API +'is_ajax=1&s=member&app=paiwu&c=home&m=tijiao&api_auth_code='+code+'&api_auth_uid='+uid;
		return url;
	},



	getWww: function() {
		return DUIXIN_API+'&s='+apileixing+'&m=site';
	},
	// banner轮播图 
	getSwiperUrl: function() {
		return DUIXIN_API+'&s='+apileixing+'&id='+DUIXIN_BANNER_ID;
	},
	// 首页图标
	getTubiaoUrl: function () {
	  var url = DUIXIN_API + '&s=tubiao&c=search&api_call_function=module_list&pagesize';
	  return url;
	},
	// 圈子首页列表
	getQuanindexUrl: function (obj,uid) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=3&uid='+uid+'&page=' + obj.page;
	  //console.log('obj',obj.guanzhuuid); 
	  if (obj.guanzhuuid) {
	    url += '&guanzhuuid='+obj.guanzhuuid;
	  }
	  if (obj.unuid) {
	    url += '&unuid='+obj.unuid;
	  }
	  return url;
	},
	// 圈子列表
	getQuanlistUrl: function () {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=4';
	  return url;
	},
	// 热门列表
	getRemenlistUrl: function (obj) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=5'+ '&page=' + obj.page;
	  if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }
	  return url;
	},
	// 文章列表
	getListUrl: function (obj) {
	  var url = DUIXIN_API + '&s=news&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
	  if (obj.categories != 0) {
	    url += '&catid=' + obj.categories;
	  } else if (obj.search != '') {
	    url += '&keyword=' + encodeURIComponent(obj.search);
	  }
	  return url;
	},
	getTopUrl: function (obj) {
	  var url = DUIXIN_API + '&order=hits&s=news&c=search&api_call_function=module_list&&pagesize=' + pageCount + '&page=' + obj.page;
	
	return url;
	},
	// 文章内容页
	getShowUrl: function (id) {
		return DUIXIN_API + '&s=news&c=show&api_call_function=module_show&id=' + id;
	},  
	//获取分类列表
	getCategoryUrl: function (ids) {
		return DUIXIN_API+'&s='+apileixing+'&id='+DUIXIN_CATS_ID;
	},
	//用户登录
	postYonghuLogin: function () {
		return DUIXIN_API+'&s=member&c=login';
	},
	getTuichu(){
		return DUIXIN_API+'s=api&c=api&m=loginout';

	},
	//用户登录
	postYonghuLogin_sms: function () {
		return DUIXIN_API+'&s=member&c=login&m=sms';
	},
	// 获取认证码 认证码
	postRenzhengma(phone) {
		return DUIXIN_API+'&s=member&c=api&m=login_code&id='+phone;
	},
	// 注册认证码
	getZhuceRenzhengma() {
		///index.php?appid=[APPID]&appsecret=[appsecret]&s=api&c=api&m=captcha&width=图片宽度&height=图片高度
		return DUIXIN_API+'s=api&c=api&m=captcha&width=80&height=40';
	},
	
	// 微信H5登录
	postWeixinlogin: function (code,state) {
		return DUIXIN_API+'&s=weixin&c=member&m=weixingongzhonghaologin&code='+code+'&state='+state;
	},
	// 微信公众号H5登录
	postWeixingongzhonghaologin: function (url) {
		return DUIXIN_API+'&s=weixin&c=go&m=weixin&url='+url;
	},
	//用户注册
	postYonghuRegiste: function () {
		return DUIXIN_API+'&s=member&c=register&m=index';
	},
	//用户信息
	getYonghuXinxi: function (id) {
		return DUIXIN_API+'&s='+apileixing+'&m=member&uid='+id;
	},
	//用户头像
	getTouxiang(uid,ip) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=32&uid='+uid+'&ip='+ip;
	  return url;
	},
	//获取小微信程序登录
	/*postWeixinLogin: function (ids) {
		return DUIXIN_API+'&s=weixin&c=member&m=xcx';
	},*/
	//账号绑定小程序
	postWeixinBangdingYicun: function (ids) {
		return DUIXIN_API+'&s=weixin&c=member&m=xcx_bangyicun';
	},
	//小微信程序绑定账号
	postWeixinBangding: function () {
		return DUIXIN_API+'&s=weixin&c=member&m=xcx_bang';
	},
	//上传头像 - 修正URL路径
	postTouxiang: function (uid,code) {
		return DUIXIN_API + 's=member&app=account&c=account&m=avatar&api_auth_uid='+uid+'&api_auth_code='+code;
	},
	//上传图片多张
	postTupians: function (uid,code) {
		return DUIXIN_API+'s=api&c=file&m=upload&api_auth_uid='+uid+'&api_auth_code='+code+'&siteid=1';
	},
	//普通帖子id
	getTieidPt: function (tieid,uid,code) {
		return DUIXIN_API+'s=httpapi&id=6&api_auth_code='+code+'&api_auth_uid='+uid+'&tieid='+tieid;
	},
	//带会员参数帖子id
	getTieid: function (quanid,tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=show&id='+quanid+'&api_auth_code='+code+'&api_auth_uid='+uid+'&tieid='+tieid;
	},
	//评论内容展示+帖子内容展示
	getPinglunNeirong (tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=quantie_comment&id='+tieid+'&api_auth_code='+code+'&api_auth_uid='+uid;
	},
	// 提交评论
	postPinglun (tieid,uid,code,rid) {
		return DUIXIN_API+'s=quan&c=quantie_comment&m=post&id='+tieid+'&api_auth_code='+code+'&api_auth_uid='+uid+'&rid='+rid;
	},
	//点赞
	getZan: function (tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=son&m=zan&id='+tieid+'&api_auth_code='+code+'&api_auth_uid='+uid;
	},
	//点赞值
	getZanzhi: function (tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=son&m=zan&id='+tieid+'&api_auth_code='+code+'&api_call_function=zan&uid='+uid;
	},
	//收藏
	getShoucang: function (tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=son&m=quan&id='+tieid+'&api_auth_code='+code+'&api_auth_uid='+uid;
	},
	//首页置顶
	getZhiding: function () {
		var url = DUIXIN_API + '&s='+apileixing+'&id=6';
		return url;
	},
	//圈子
	getQuan: function (quanid,qid,erji) {
		var url = DUIXIN_API + '&s=quan&c=show&id='+ quanid +'&qid='+qid+'&erji='+erji+'&api_call_function=module_show';
		
		return url;
	},
	//独立圈子列表
	getQuanlist: function (obj,uid,quanid,qid,erji) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=7&uid='+uid+'&quanid='+quanid+'&qid='+qid+'&erji='+erji+'&page=' + obj.page;
	  if (obj.unuid) {
	    url += '&unuid='+obj.unuid;
	  }
	  return url;
	},
	// 圈子搜索列表
	getQuansousuo: function (obj,k) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=8&k='+k+'&page=' + obj.page;
	  return url;
	},
	// 圈子新评列表
	getQuanxinping: function (obj,k) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=9&k='+k+'&page=' + obj.page;
	  return url;
	},
	// 新帖列表
	getXintielistUrl: function (obj) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=10'+ '&page=' + obj.page;
	  if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }
	  return url;
	},
	// 首页签到
	getQiandao: function (uid,code) {
	  var url = DUIXIN_API + 'is_ajax=1&s=member&app=qiandao&c=home&m=dosign&quan=0&api_auth_uid='+uid+'&api_auth_code='+code;
	  /*if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }*/
	  return url;
	},
	// 首页签到会员
	getQiandaohuiyuan: function () {
	  var url = DUIXIN_API + 's='+apileixing+'&id=11';
	  /*if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }*/
	  return url;
	},
	//圈子首页置顶
	getQuanZhiding: function (cid) {
		var url = DUIXIN_API + '&s='+apileixing+'&id=12&quanid='+cid;
		return url;
	},
	//推荐圈子
	getTuijianQuanzi: function () {
		var url = DUIXIN_API + '&s='+apileixing+'&id=15';
		return url;
	},
	//统计
	getTongji: function () {
		var url = DUIXIN_API + '&s='+apileixing+'&id=16';
		return url;
	},
	//发布帖子
	postTiezi: function (uid,code,cid) {
		return DUIXIN_API + '&s=member&app=quan&c=son&m=add&api_auth_uid='+uid+'&api_auth_code='+code+'&cid='+cid;
	},
	//全文搜索接口
	getJiansuoTiezi: function () {
		return DUIXIN_API + 's=jiansuo&c=home&m=index&lei=1';
	},
	//个人页面
	getGerenyemian: function (obj,uid,code,guid) {
		var url = DUIXIN_API  + '&s='+apileixing+'&id=17&uid='+uid+'&guid='+guid+'&page=' + obj.page;
		if (obj) {
		  url += '&api_auth_uid='+uid+'&api_auth_code='+code;
		}
		return url;
	},
	// 用户认证
	getRenzheng: function (uid,code) {
	  var url = DUIXIN_API + 's=member&app=certify&c=home&m=index&api_auth_uid='+uid+'&api_auth_code='+code;
	  /*if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }*/
	  return url;
	},
	// 修改资料
	postZiliao: function (uid,code) {
	  var url = DUIXIN_API + 's=member&c=account&m=index&api_auth_uid='+uid+'&api_auth_code='+code;
	  /*if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }*/
	  return url;
	},
	//修改密码
	// 修改资料
	postMima(uid,code) {
	  var url = DUIXIN_API + 's=member&c=account&m=password&api_auth_uid='+uid+'&api_auth_code='+code;
	  /*if (obj.uid > 0) {
	    url += '&uid=' + obj.uid;
	  }*/
	  return url;
	},
	//信息推送
	getTuisongxinxi: function () {
		var url = DUIXIN_API + '&s='+apileixing+'&id=18';
		return url;
	},
	// tag列表
	getTagList: function (obj) {
	  var url = DUIXIN_API + '&s=tags&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;s
	  if (obj.categories != 0) {
	    url += '&catid=' + obj.categories;
	  } else if (obj.search != '') {
	    url += '&keyword=' + encodeURIComponent(obj.search);
	  }
	  return url;
	},
	//热门Tags推送
	getTags: function () {
		var url = DUIXIN_API + '&s='+apileixing+'&id=19';
		return url;
	},
	// Tags列表
	getTagslist: function (obj,k) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=20&tag='+k+'&page=' + obj.page;
	  return url;
	},
	// 用户认证
	getRenzhengs: function (uid) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=21&uid='+uid;
	  return url;
	},
	// 关注
	getGuanzhu(uid,code) {
		var url = DUIXIN_API + '&s=huiyuan&c=show&m=friend&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 内容页面的个人关注
	getGerenGuanzhu(uid,code,touid) {
		var url = DUIXIN_API + '&s='+apileixing+'&id=22&uid='+uid+'&touid='+touid+'&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 进度条
	getJindu: function (id) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=23&tid='+id;
	  return url;
	},
	// 进度条设置
	getJindudata(uid,code,id,quanid,leixing){
		var url = DUIXIN_API + '&s=quan&c=son&m=jindudata&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid+'&leixing='+leixing;
		return url;
	},
	//通知
	getTongzhi(uid,catid,obj){
		var url = DUIXIN_API + '&s='+apileixing+'&id=25&uid='+uid+'&catid='+catid+'&page='+obj.page;
		return url;
	},
	//已读
	getYidus: function (tieid,uid,code) {
		return DUIXIN_API+'s=quan&c=son&m=yidu&id='+tieid+'&api_auth_code='+code+'&api_auth_uid='+uid;
	},
	// 消息统计
	getXiaoxitongji(uid) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=26&uid='+uid;
	  return url;
	},
	//举报
	postJubao: function (uid,code,id) {
		return DUIXIN_API + '&s=jubao&c=post&m=index&moxing=quan&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id;
	},
	//加入圈子
	postJiaruquanzi(uid,code,id) {
		return DUIXIN_API + '&s=quan&c=show&m=cart&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id;
	},
	//判断加入圈子
	//加入圈子
	getInquanzi(uid,code,id) {
		var url = DUIXIN_API + '&s='+apileixing+'&id=27&uid='+uid+'&cid='+id+'&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	//(新接口)加入圈子
	getJiaruQuanzi(uid,code,id) {
		var url = DUIXIN_API + '&s=quan&c=show&m=jiaruquanzi&uid='+uid+'&cid='+id+'&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	//添加私信
	postAddtext(uid,code) {
		return DUIXIN_API + '&s=duixin&c=duixin&m=addtext&api_auth_uid='+uid+'&api_auth_code='+code;
	},
	//已读
	getYidu(uid,code,touid) {
		return DUIXIN_API + '&s=duixin&c=duixin&m=yidu&api_auth_uid='+uid+'&api_auth_code='+code+'&touid='+touid;
	},
	//列表
	getDuixinlist(uid,code) {
		return DUIXIN_API + '&s=duixin&c=duixin&m=list&api_auth_uid='+uid+'&api_auth_code='+code;
	},
	//判断好友
	getIshaoyou(uid,code,touid){
		return DUIXIN_API + '&s=duixin&c=duixin&m=ishaoyou&api_auth_uid='+uid+'&api_auth_code='+code+'&touid='+touid;
	},
	//判断好友
	postHujia(uid,code,touid){
		return DUIXIN_API + '&s=duixin&c=duixin&m=hujia&api_auth_uid='+uid+'&api_auth_code='+code+'&touid='+touid;
	},
	//认证添加好友
	postRenzhenghaoyou(uid,code,touid){
		return DUIXIN_API + '&s=duixin&c=duixin&m=renzhenghujia&api_auth_uid='+uid+'&api_auth_code='+code+'&touid='+touid;
	},
	// 帖子点赞统计
	getDianzantongji(id) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=28&tieid='+id;
	  return url;
	},
	//审核帖子
	getShenhetiezi(uid,code,id){
		return DUIXIN_API + '&s=quan&c=son&m=shenhe&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id;
	},
	//删除帖子
	getShanchutiezi(uid,code,id){
		return DUIXIN_API + '&s=quan&c=son&m=shanchu&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id;
	},
	//帮助导航
	getBangzhudaohang(){
		var url = DUIXIN_API + '&s=httpapi&m=category&mid=bang&pid=0';
		return url;
	},
	//帮助列表
	getBangzhulist(obj){
		var url = DUIXIN_API + '&s=bang&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	//帮助内容
	getBangzhushow(id){
		return DUIXIN_API + '&s=bang&c=show&api_call_function=module_show&id='+id;
	},
	//反馈导航
	getFankuidaohang(){
		var url = DUIXIN_API + '&s=httpapi&m=category&mid=fankui&pid=0';
		return url;
	},
	//反馈列表
	getFankuilist(obj){
		var url = DUIXIN_API + '&s=fankui&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	//反馈内容
	getFankuishow(id){
		return DUIXIN_API + '&s=fankui&c=show&api_call_function=module_show&id='+id;
	},
	//提交反馈
	postFankui(uid,keycode){
		return DUIXIN_API + '&s=member&app=fankui&c=home&m=add&api_auth_uid='+uid+'&api_auth_code='+keycode;
	},
	//建议导航
	getJianyidaohang(){
		var url = DUIXIN_API + '&s=httpapi&m=category&mid=jianyi&pid=0';
		return url;
	},
	//建议列表
	getJianyilist(obj){
		var url = DUIXIN_API + '&s=jianyi&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	//建议内容
	getJianyishow(id){
		return DUIXIN_API + '&s=jianyi&c=show&api_call_function=module_show&id='+id;
	},
	//建议反馈
	postJianyi(uid,keycode){
		return DUIXIN_API + '&s=member&app=jianyi&c=home&m=add&api_auth_uid='+uid+'&api_auth_code='+keycode;
	},
	//举报导航
	getJubaodaohang(){
		var url = DUIXIN_API + '&s=httpapi&m=category&mid=jubao&pid=0';
		return url;
	},
	//举报列表
	getJubaolist(obj){
		var url = DUIXIN_API + '&s=jubao&c=search&api_call_function=module_list&pagesize=' + pageCount + '&page=' + obj.page;
		if (obj.categories != 0) {
		url += '&catid=' + obj.categories;
		} else if (obj.search != '') {
		url += '&keyword=' + encodeURIComponent(obj.search);
		}
		return url;
	},
	// 问答进度条
	getWenda: function (id) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=29&tid='+id;
	  return url;
	},
	// 问答答案列表
	getWendalist: function (id,data) {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=30&tid='+id;
	  return url;
	},
	// 问答答案单独展示内容
	getWendadaan(id,uid,keycode) {
	  var url = DUIXIN_API + '&s=quan&c=wenda&m=index&id='+id+'&api_auth_uid='+uid+'&api_auth_code='+keycode;
	  return url;
	},
	// 问答奖励 和 中标
	getWendajiangli: function (uid,code,id,leixing,tieuid) {
	  var url = DUIXIN_API + '&s=quan&c=wenda&m=jianglijifen&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&leixing='+leixing+'&uid='+tieuid;
	  return url;
	},
	//问答答案提交
	postWendadaan(uid,code,cid,tid){
		var url = DUIXIN_API + '&s=member&app=quan&c=wenda&m=adddaan&api_auth_uid='+uid+'&api_auth_code='+code+'&cid='+cid+'&tid='+tid;
		return url;
	},
	//审核提交的答案
	postDananshenhe(uid,code,id,tid,touid){
		var url = DUIXIN_API + '&s=quan&c=wenda&m=daanshenhe&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&tid='+tid+'&uid='+touid;
		return url;
	},
	//审核提交的答案
	getDananzhuangtai(id){
		var url = DUIXIN_API + '&s='+apileixing+'&id=33&tid='+id;
		return url;
	},
	//招聘
	getZhaopin(id){
		var url = DUIXIN_API + '&s='+apileixing+'&id=31&tid='+id;
		return url;
	},
	//招聘确认
	getZhaopinqueren(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=zhaopin&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	//bug进度
	getBug(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=bug&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	// bug进度条设置
	getBugdata(uid,code,id,quanid,leixing){
		var url = DUIXIN_API + '&s=quan&c=son&m=bugdata&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid+'&leixing='+leixing;
		return url;
	},
	//需求进行
	getXuqiu(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=jindu&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	//圈子置顶
	getQuanzhiding(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=zhiding&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	//首页置顶
	getShouyezhiding(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=shouyezhiding&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	//帖子精华
	getTiejinghua(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=jinghua&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	//全站置顶
	getQuanzhanzhiding(uid,code,id,quanid){
		var url = DUIXIN_API + '&s=quan&c=son&m=qzzd&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&quanid='+quanid;
		return url;
	},
	// 一键读取系统消息
	getYijiantongzhi(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=duixin&c=home&m=yijianduquxingtong&api_auth_uid='+uid+'&api_auth_code='+code+'&uid='+uid;
		return url; 
	},
	// 一键读取点赞消息
	getYijiangdianzan(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=duixin&c=home&m=yijiandianzan&api_auth_uid='+uid+'&api_auth_code='+code+'&uid='+uid;
		return url; 
	},
	// 一键读取评论消息
	getYijianpinglun(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=duixin&c=home&m=yijianpinglun&api_auth_uid='+uid+'&api_auth_code='+code+'&uid='+uid;
		return url; 
	},
	//加入圈子
	getJiaruQuanlistUrl: function () {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=35';
	  return url;
	},
	// 我的圈子列表
	getWoQuanlistUrl: function () {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=34';
	  return url;
	},
	//实名发布
	getShimingfabu(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=quan&c=son&m=shiming&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	//实名回复
	getShiminghuifu(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=quan&c=son&m=huifu&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 站点信息
	getWwwXinxi() {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=36';
	  return url;
	},
	//微信客服
	getWeixinkefu() {
		var url = DUIXIN_API + '&s='+apileixing+'&id=37';
		return url;
	},
	//帖子视频内容
	getShipin(id){
		var url = DUIXIN_API + '&s='+apileixing+'&id=38&tid='+id;
		return url;
	},
	// 会员圈贴图标
	getQuantietuApi: function () {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=39';
	  return url;
	},
	// 活动二维码认证
	getHuodongrenzheng(uid,code){
		var url = DUIXIN_API + '&is_ajax=1&s=member&app=quan&c=hdbm&m=renzheng&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 圈子属性设置
	getQuanzishuxing() {
	  var url = DUIXIN_API + '&s='+apileixing+'&id=40';
	  return url;
	},
	//mp3
	getMpsan(id){
		var url = DUIXIN_API + '&s='+apileixing+'&id=42&tid='+id;
		return url;
	},
	// 微信分享密钥
	getWeixinfengxiangmiyue(urljia) {
		var url = DUIXIN_API + '&s=weixin&c=miyue&m=index&urljia='+urljia;
		return url;
	},
	// 微信分享图
	getWeixinfengxiangtu(tid) {
		var url = DUIXIN_API + '&s=weixin&c=miyue&m=tuwen&id='+tid;
		return url;
	},
	// 充值说明
	getPayshuoming(){
		var url = DUIXIN_API + '&s=pay&c=home&m=shuoming';
		return url;
	},
	// 充值
	postPay(uid,code){
		var url = DUIXIN_API + 's=member&app=pay&c=pay&m=index&api_auth_uid='+uid+'&api_auth_code='+code+'&';
		return url;
	},
	// 充值
	postweixin_chongzhi(uid,code){
		var url = DUIXIN_API + 's=member&app=pay&c=pay&m=index&api_auth_uid='+uid+'&api_auth_code='+code+'&';
		return url;
	},
	// 拉起支付
	getPayurl(uid,code,id){
		var url = DUIXIN_API + 's=pay&id='+id;
		return url;
	},
	// 充值订单
	getZhifu(uid,code,id){
		var url = DUIXIN_API + 's=pay&c=zhifu&m=index&id='+id;
		return url;
	},
	//检查支付
	getZhifujiance(uid,code,id){
		var url = DUIXIN_API + 's=pay&m=ajax&id='+id+'&callback=success_jsonpCallback';
		return url;
	},
	// 充值订单
	getPayid(payid,urldata){
		var url = DUIXIN_API + 's=api&c=pay&id='+payid+'&'+urldata;
		return url;
	},
	// h5充值订单
	getH5Payid(payid,urldata){
		var url = domain + '/index.php?s=api&c=pay&id='+payid+'&'+urldata;
		return url;
	},
	// pc充值订单
	getPcPayid(payid,urldata){
		var url = domain + '/index.php?s=api&c=pay&id='+payid+'&'+urldata;
		return url;
	},
	// 会员
	getMemberid(uid,code){
		var url = DUIXIN_API + 's=member&c=home&m=index&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 用户组
	getYonghuzu(uid,code,hid){
		var url = DUIXIN_API + 's=member&app=quan&c=yonghuzu&m=index&api_auth_uid='+uid+'&api_auth_code='+code+'&hid='+hid;
		return url;
	},
	// 用户组
	getFufeijiaquan(uid,code,quanid){
		var url = DUIXIN_API + 's=member&app=quan&c=jiaru&m=fufeijiaquan&api_auth_uid='+uid+'&api_auth_code='+code+'&quanid='+quanid;
		return url;
	},
	// 拉黑用户
	getLaheiyonghu(uid,code){
		var url = DUIXIN_API + 's=member&app=quan&c=lahei&m=laheiuid&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 屏蔽帖子
	getLaheitiezi(uid,code){
		var url = DUIXIN_API + 's=member&app=quan&c=lahei&m=laheitiezi&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 屏蔽评论
	getLaheipinglun(uid,code){
		var url = DUIXIN_API + 's=member&app=quan&c=lahei&m=laheipinglun&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 解除用户
	postJiechuyonghu(uid,code){
		var url = DUIXIN_API + '&s=member&app=quan&c=lahei&m=jiefenguid&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 解除帖子
	postJiechutiezi(uid,code){
		var url = DUIXIN_API + '&s=member&app=quan&c=lahei&m=jiefengtiezi&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 解除评论
	postJiechupinglun(uid,code){
		var url = DUIXIN_API + '&s=member&app=quan&c=lahei&m=jiefengpinglun&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	// 拉黑用户列表
	getJiechuyonghulist(uid){
		var url = DUIXIN_API + '&s='+apileixing+'&id=44&uid='+uid;
		return url;
	},
	// 屏蔽帖子列表
	getJiechutiezilist(uid){
		var url = DUIXIN_API + '&s='+apileixing+'&id=45&uid='+uid;
		return url;
	},
	// 屏蔽评论列表
	getJiechupinglunlist(uid){
		var url = DUIXIN_API + '&s='+apileixing+'&id=46&uid='+uid;
		return url;
	},
	//发布九格图id
	getFabuid(){
		var url = DUIXIN_API + '&s=quan&c=fabu&m=fabuid';
		return url;
	},
	// 用户背景图
	postUidbeijingtu(uids,uid,code){
		var url = DUIXIN_API + '&s=huiyuan&c=home&m=beijingtu&uid='+uids+'&api_auth_uid='+uid+'&api_auth_code='+code;
		return url;
	},
	//删除帖子
	// 上传头像
	uploadAvatar() {
		var url = DUIXIN_API + 's=member&app=account&c=avatar&m=upload';
		return url;
	}
};